package com.xxxx.order.mapper;

import com.xxxx.order.pojo.OrderGoods;

import java.util.List;

public interface OrderGoodsMapper {
    int deleteByPrimaryKey(Integer recId);

    int insert(OrderGoods record);

    int insertSelective(OrderGoods record);

    OrderGoods selectByPrimaryKey(Integer recId);

    int updateByPrimaryKeySelective(OrderGoods record);

    int updateByPrimaryKey(OrderGoods record);

    /**
     * 批量插入
     * @param orderGoodsList
     * @return
     */
    int insertOrderGoodsBatch(List<OrderGoods> orderGoodsList);
}